Optimal. Leaf size=43 \[ -\frac{(a \sin (c+d x)+a)^{m+1} \, _2F_1(3,m+1;m+2;\sin (c+d x)+1)}{a d (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0811075, antiderivative size = 43, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111, Rules used = {2833, 12, 65} \[ -\frac{(a \sin (c+d x)+a)^{m+1} \, _2F_1(3,m+1;m+2;\sin (c+d x)+1)}{a d (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2833
Rule 12
Rule 65
Rubi steps
\begin{align*} \int \cot (c+d x) \csc ^2(c+d x) (a+a \sin (c+d x))^m \, dx &=\frac{\operatorname{Subst}\left (\int \frac{a^3 (a+x)^m}{x^3} \, dx,x,a \sin (c+d x)\right )}{a d}\\ &=\frac{a^2 \operatorname{Subst}\left (\int \frac{(a+x)^m}{x^3} \, dx,x,a \sin (c+d x)\right )}{d}\\ &=-\frac{\, _2F_1(3,1+m;2+m;1+\sin (c+d x)) (a+a \sin (c+d x))^{1+m}}{a d (1+m)}\\ \end{align*}
Mathematica [A] time = 0.0603483, size = 43, normalized size = 1. \[ -\frac{(a \sin (c+d x)+a)^{m+1} \, _2F_1(3,m+1;m+2;\sin (c+d x)+1)}{a d (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.714, size = 0, normalized size = 0. \begin{align*} \int \cos \left ( dx+c \right ) \left ( \csc \left ( dx+c \right ) \right ) ^{3} \left ( a+a\sin \left ( dx+c \right ) \right ) ^{m}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sin \left (d x + c\right ) + a\right )}^{m} \cos \left (d x + c\right ) \csc \left (d x + c\right )^{3}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (a \sin \left (d x + c\right ) + a\right )}^{m} \cos \left (d x + c\right ) \csc \left (d x + c\right )^{3}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sin \left (d x + c\right ) + a\right )}^{m} \cos \left (d x + c\right ) \csc \left (d x + c\right )^{3}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]